Skip to content

fix: disable the gunicorn control socket - #324

Merged
andig merged 1 commit into
mainfrom
fix/no-control-socket
Nov 9, 2026
Merged

andig merged 1 commit into
mainfrom
fix/no-control-socket

Conversation

@andig

@andig andig commented Nov 9, 2026

Copy link
Copy Markdown
Member

Refs #323 (comment 6744032275).

Since gunicorn 25.1 the master opens a control socket for gunicornc at $HOME/.gunicorn/gunicorn.ctl. The image runs as app, created with useradd -r and no home directory, so every start logs:

[ERROR] Control server error: [Errno 13] Permission denied: '/home/app'

Nothing uses the control interface, so it is disabled with --no-control-socket instead of creating a home directory for it.

  • serving is unaffected either way, the error only came from the control server thread

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andig
andig merged commit 52530ce into main Nov 9, 2026
1 check passed
@andig
andig deleted the fix/no-control-socket branch November 9, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant